public class testclass
{
	public static void main(String[] arg)
	{
		int size = 5;
		Queue my = new Queue(size);
		
		int i;
		for(i=4;i<9;i++)
		{
			my.addItem(i);
		}
		System.out.println("------------------------------------------------------------");
		
		my.queuePrint();
		
		System.out.println("------------------------------------------------------------");
		
		
		for(i=0;i<size;i++)
		{
			my.dequeue();
			my.queuePrint();
		System.out.println("------------------------------------------------------------");
		}
	}
}